<?=isset($header) ? $header : ''?>
<div id="content">
	<div class="form_style">
		<!-- nav1 start-->
		<form method="post" action="/object/batch_data_delete" id="userinfo">
			<table>
				<thead>
					<tr>
						<th>選擇</th>
						<th>所有權人</th>
						<th>委托人</th>
						<th>物件案名</th>
						<th>建物面積</th>
						<th>總價</th>
						<th>車位數</th>
						<th>建物門牌</th>
						<th width="70px">操作</th>
					</tr>
				</thead>
				<tbody id="page_content">
					<?
					foreach($result as $key=>$val){
					?>
					<tr>
						<td width="10" align="center">
						<input type="checkbox" name="demand[]" id="demand_check_box" value="<?=$val->object_id?>">
						</td>
						<td><?=$val->owner?></td>
						<td><?=$val->principal?></td>
						<td><?=$val->case_name?></td>
						<td><?=$val->building_area?></td>
						<td><?=$val->sale_total?></td>
						<td><?=$val->use_parking_number?></td>
						<td><?=$val->house_building?></td>
						<td width="70px">
						<a href="<?=site_url('/object/data_edit/'.$val->object_id)?>"><img src="/images/ico_edit_16.png" title="編輯" border="0" /></a>
						<a href="<?php echo site_url('/pair/object?id=').$val->object_id."&page=0"?>"><img src="/images/arrow-join.png" title="配对" border="0"/></a>
						<a href="<?=site_url('/object/data_delete/'.$val->object_id)?>"><img src="/images/ico_delete_16.png" title="刪除" border="0"/></a>
						</td>
					</tr>
					<?
					}
					?>					
				</tbody>
				<tfoot>
				<tr>
					<td colspan="15">
					<div>
						<div style="float:left;vertical-align:baseline">
							<input type="checkbox" name="select_client" id="select_client" onclick="selectCheckBox()" >&nbsp;<span class="allchoose">全选</span><!--&nbsp;&nbsp;<input type="submit" onclick="checkform()" value="批量刪除">&nbsp;-->&nbsp;&nbsp;

							<!--
							<input type="button"  value="轉EXCEL" onclick="window.open('<?=site_url('/object/excel')?>','newwindow','resizable=yes,location=no');" class="input_background">
							-->
							<input type="button"  value="轉EXCEL" id="object_do_excel" class="input_background">
						</div>
						<div style="float:right">
							 <?php echo $victor_page;?>
						</div>
					</div>
					</td>
				</tr>
				</tfoot>
			</table>
			</form>
	</div>
</div>
<?=isset($footer) ? $footer : ''?>